home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Video Toaster 4.0
/
Video Toaster v4.0.iso
/
programs
/
documentation
/
toast100.doc
< prev
next >
Wrap
Text File
|
1993-12-13
|
4KB
|
119 lines
Toast100 By Arnie Cachelin © 1993 NewTek Inc.
Thu Jun 3 01:10:42 1993
Toast100 is a the Grass Valley 100 protocol emulator for the Video Toaster.
It is based on the Grass Valley Group document: ---???.
Although the Video Toaster's functions do not match those of the GVG100
switcher, the basic transition and switching functions have been
implemented as fully as possible.
Hardware Requirements
The Grass Valley 100 switcher uses an RS-422 serial communications protocol.
The Toaster's serial port is only RS-232C. If your editor uses RS-422 only
you will need a converter. Conversion boxes and cables are generally available
from computer or electronics suppliers. If you have an editor
which speaks RS-232, you can connect it with only a 'null modem' adapter.
Operation
Toast100 currently runs either from the AmigaDOS Command Shell (CLI), or
from the Workbench graphical interface. If it is run without any
arguments, it will start in the default mode: using the internal serial
port and software at 38.4kbaud, 8 bits, Odd parity, 1 stop bit (38400 8O1).
To use a different serial port, different communications settings, or a
different device address specify them on the Toast100 command line or in
the workbench icon tooltypes. The [optional] command line parameters will
be displayed if the program is run with the argument "-?". They are
-b<BAUD> -s<SETTINGS> -d<DEVICE> -u<UNIT> -a<ADDRESS>. For example, the
default settings would be set by running Toast100 as follows:
Toast100 -b38400 -s8O1 -dSerial.device -u0 -a30
The supported tooltypes are similar, use BAUD=<baud>, SETTINGS=<settings>,
DEVICE=<Device>, UNIT=<unit>, ADDRESS=<address>.
Toast100 does not currently require that the Toaster software be running
for it to execute, but all its attempted commands to the Toaster will
return the rather emphatic message "NO TOASTER!", and send it out the
serial port. If the Toaster is running, the commands will be executed as
they are received. If commands are sent while the Toaster is busy, they
will pile up and be handled in turn. You can quit Toast100 by clicking the
Close button in the upper-left corner of the little window it opens on your
Workbench screen. Toast100 will also exit if the mystical command 0x35 is
received. This must be in command form (i.e.[BYTECOUNT][FX_ADDRESS][0x35]).
The default device address is 0x30, and Toast100 will respond to the
correct device address with an ACK. Any other byte will be interpreted as
a byte count (if it is between 2 and 6) or a wrong address, which will
elicit a NAK. Presently the FX ADDRESS BYTE is ignored and may have any
value.
Protocol Implementation
Toast100 supports Program, Preview, and Key bus crosspoints for all the
Toaster's live sources, the 2 still stores, and 9 background generator
colors, in that order. Crosspoint 0 goes to the black background. The
following is a table of implemented command codes:
0x41 Read Program bus
0x42 Read Preview bus
0x43 Read Overlay (Key) bus
0x44 Read Overlay (Key) bus
0x45 Read analog control (0=Clip, 1=TBar, 2=Border preset)
0x46 Read push button lamp (on the Toaster?? )
0x47 Read push button lamp (on the Toaster?? )
0x4C Read Transition frame rate
0x7D Read Transition frame rate
0x6C Read version
0xC1 Set Program bus
0xC2 Set Preview bus
0xC4 Set Overlay (Key) bus
0xC3 Set Overlay (Key) bus
0xC5 Set analog control (0=Clip, 1=TBar, 2=Border preset)
0xC6 Set push button lamp
0xC7 Set push button lamp
0xC8 Set Transition
0xCC Set Transition frame rate
0xFD Set Transition frame rate
0x0B Set Auto trans (i.e. do it)
Push button Lamps:
PRG0 0x00
PRG1 0x01
PRG2 0x02
PRG3 0x03
PRG4 0x04
PRG5 0x05
PRG6 0x06
PRG7 0x07
PRG8 0x08
PRG9 0x09
PRV0 0x10
PRV1 0x11
PRV2 0x12
PRV3 0x13
PRV4 0x14
PRV5 0x15
PRV6 0x16
PRV7 0x17
PRV8 0x18
PRV9 0x19
KEY0 0x20
KEY1 0x21
KEY2 0x22
KEY3 0x23
KEY4 0x24
KEY5 0x25
KEY6 0x26
KEY7 0x27
KEY8 0x28
KEY9 0x29
AUTO 0x0B
MIX 0x0F
FTB 0x1F
KEY 0x49
KEYON 0x52
BKGD 0x48
TBAR 0x00
CLIP 0x0A